﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Inner
{
    public class AddBuildingRqDto
    {
        [JsonProperty("buildingName")]
        public string BuildingName { set; get; }

        [JsonProperty("center")]
        public string Center { set; get; }

        [JsonProperty("projectId")]
        public string ProjectId { set; get; }

        [JsonProperty("sort")]
        public int Sort { set; get; }

        /// <summary>
        /// 楼栋状态：0-未建；1-已建
        /// </summary>
        [JsonProperty("state")]
        public int State { set; get; }

        [JsonProperty("totalBuildingArea")]
        public double TotalBuildingArea { set; get; }

        [JsonProperty("zbdType")]
        public string ZbdType { set; get; }

        public List<AddFloorRqDto> floorList { set; get; }
    }

    public class AddBuildingRspDto : ProjectDCRspDataBaseDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { set; get; }

        /// <summary>
        /// 编码
        /// </summary>
        public string BuildingCode { set; get; }
    }
}